#import <Foundation/Foundation.h>

extern NSInteger compareAttendees(id attendee1, id attendee2, void *context);

enum kPIParticipantStatusType {
    kPIParticipantStatusUnknown,
    kPIParticipantStatusPending,
    kPIParticipantStatusAccepted,
    kPIParticipantStatusDeclined,
    kPIParticipantStatusTentative,
    kPIParticipantStatusDelegated,
    kPIParticipantStatusCompleted,
    kPIParticipantStatusInProgress
};


@interface PIAttendee : NSObject
{
    NSString* name;
    kPIParticipantStatusType status;
}

@property (readonly, retain) NSString* name; 
@property (readonly, assign) kPIParticipantStatusType status; 


+ (PIAttendee*)attendeeWithName:(NSString*)newName status:(kPIParticipantStatusType)newStatus;

@end